import { throttle, debounce } from 'lodash'

const isWeixinBrowser = () => {
	const ua = navigator.userAgent.toLowerCase()
	return /micromessenger/.test(ua) ? true : false
}

export {
  throttle,
  debounce,
  isWeixinBrowser
}